Java: array of objects two different approaches of initialization

visit shbcf.ru